package com.learn.activiti.chapter04.commandPattern;

public class OtherStock implements Order {

    private Stock otherStock;

    public OtherStock(Stock otherStock) {
        this.otherStock = otherStock;
    }

    @Override
    public void execute() {
        otherStock.other();
    }
}
